package org.spring.blog.response;


public interface ResponseState {

    int error_404_code = 404;
    String error_404_message = "页面丢失";


    int error_403_code = 403;
    String error_403_message = "权限不够";

    int error_504_code = 504;
    String error_504_message = "连接超时";

    int error_505_code = 505;
    String error_505_message = "http协议版本不支持";

    int success_code = 2000;
    String success_message = "操作成功";

    int failed_code = 4000;
    String failed_message = "操作失败";

    int admin_is_register_code = 4001;
    String admin_is_register_message = "管理员已注册";

    int user_not_login_code = 4002;
    String user_not_login_message = "用户未登录";

    int user_not_register_code = 4003;
    String user_not_register_message = "用户不存在";

    int email_not_unique_code = 4004;
    String email_not_unique_message = "邮箱已经存在";

    int no_power_code = 4005;
    String no_power_message = "权限不够";

    int username_not_unique_code = 4006;
    String username_not_unique__message = "用户名已经存在";

    int user_is_login_code = 4007;
    String user_is_login_message = "用户已登录";

    int captcha_is_over_code = 4008;
    String captcha_is_over_message = "人类验证码已经过期";

    int captcha_value_error_code = 4009;
    String captcha_value_error_message = "人类验证码输入错误";

    int username_or_email_cant_empty_code = 4010;
    String username_or_email_cant_empty_message = "用户名或者邮箱不能为空";

    int password_cant_empty_code = 4011;
    String password_cant_empty_message = "密码不能为空";


    int username_or_email_error_code = 4012;
    String username_or_email_error_message = "用户名或者邮箱错误";

    int password_error_code = 4013;
    String password_error_message = "密码错误";

    int username_cant_empty_code = 4014;
    String username_cant_empty_message = "用户名不能为空";

    int email_cant_empty_code = 4015;
    String email_cant_empty_message = "邮箱不能为空";

    int email_form_error_code = 4016;
    String email_form_error_message = "邮箱格式错误";

    int verify_is_over_code = 4017;
    String verify_is_over_message = "邮箱验证码已经过期";

    int verify_value_error_code = 4018;
    String verify_value_error_message = "邮箱验证码输入错误";

    int account_is_ban_code = 4019;
    String account_is_ban_message = "当前账号已被封禁";

    int send_verify_too_much_code = 4020;
    String send_verify_too_much_message = "你今天发了太多的验证码了";

    int send_verify_too_fast_code = 4021;
    String send_verify_too_fast_message = "发送验证码太频繁，请等30秒后在发";

    int category_name_cant_empty_code = 4022;
    String category_name_cant_empty_message = "分类名不能为空";

    int category_pinyin_cant_empty_code = 4023;
    String category_pinyin_cant_empty_message = "分类拼音不能为空";

    int category_description_cant_empty_code = 4024;
    String category_description_cant_empty_message = "分类描述不能为空";

    int data_not_have_code = 4025;
    String data_not_have_message = "数据不存在";

    int friendLink_url_cant_empty_code = 4026;
    String friendLink_url_cant_empty_message = "友情链接不能为空";

    int friendLink_logo_cant_empty_code = 4027;
    String friendLink_logo_cant_empty_message = "友情链接logo不能为空";

    int friendLink_name_cant_empty_code = 4028;
    String friendLink_name_cant_empty_message = "友情链接名字不能为空";

    int friendLink_not_have_code = 4029;
    String friendLink_not_have_message = "友情链接不存在";

    int file_cant_empty_code = 4030;
    String file_cant_empty_message = "文件不能为空";

    int file_type_error_code = 4031;
    String file_type_error_message = "文件格式错误";

    int file_type_no_support_code = 4032;
    String file_type_no_support_message = "不支持的文件类型";

    int file_size_too_big_code = 4033;
    String file_size_too_big_message = "文件太大";

    int file_no_have_code = 4034;
    String file_no_have_message = "文件不存在";

    int looper_title_cant_empty_code = 4035;
    String looper_title_cant_empty_message = "轮播图标题不能为空";

    int looper_image_url_cant_empty_code = 4036;
    String looper_image_url_cant_empty_message = "轮播图片链接不能为空";

    int looper_target_url_cant_empty_code = 4037;
    String looper_target_url_cant_empty_message = "轮播图跳转链接不能为空";

    int input_data_is_empty_code = 4038;
    String input_data_is_empty_message = "输入内容为空";

    int input_data_not_complete_code = 4039;
    String input_data_not_complete_message = "输入内容不完整";

    int article_title_length_too_long_code = 4040;
    String article_title_length_too_long_message = "文章标题过长";

    int article_summary_length_too_long_code = 4041;
    String article_summary_length_too_long_message = "文章摘要过长";

    int not_support_operation_code = 4042;
    String not_support_operation_message = "不支持的操作";

    int email_is_unique_code = 4043;
    String email_is_unique_message = "邮箱不存在";

    int username_is_unique_code = 4044;
    String username_is_unique__message = "用户名不存在";

    int qr_code_is_over_code = 4045;
    String qr_code_is_over_message = "二维码过期";

    int qr_code_is_waiting_code = 4046;
    String qr_code_is_waiting_message = "等待扫描";

    int too_fast_code = 4047;
    String too_fast_message = "你也太快了吧";
}
